body {
  background-color: skyblue;
  font-family: sans-serif;
  margin: 0;
  padding: 50px;
}

#playing-cards {
  display: flex;
  gap: 20px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  display: flex;
  width: 300px;
  height: 420px;
  background-color: #eee;
  border-radius: 10px;
  border: 1px solid black;
  box-shadow: 0 1px 2px #333;
  justify-content: space-between;
  padding: 10px 5px;
}

.red {
  color: red;
}

.left {
  align-self: flex-start;
  font-size: 40px;
  font-weight: bold;
}

.middle {
  align-self: center;
  font-size: 100px;
  display: flex;
  flex-direction: column;
}

.middle div:last-of-type {
  transform: rotate(180deg);
}

.right {
  align-self: flex-end;
  font-size: 40px;
  font-weight: bold;
  transform: rotate(180deg);
}